<?php
if(isset($_SERVER['PATH_INFO'])) {
    $relative_path = dirname(array_shift(explode($_SERVER['PATH_INFO'], $_SERVER['PHP_SELF'])));
}else{
    $relative_path = dirname($_SERVER['PHP_SELF']);

}
return array(
    'internalCacheDir' => 'cache',
    'dbDSN' => array(
        'driver' => 'mysql',
        'host' => 'localhost',
        'login' => 'root',
        'password' => 'our1944@hotmail.com',
        'database' => 'sisucib',
    ),
    'themeDirs' => array(
        dirname(__FILE__) .'/Theme',
    ),
    'moduleDirs' => array(
        dirname(__FILE__) .'/Module',
        dirname(__FILE__) .'/core/Module',
    ),
    'rootDir' => array(
        'relative' => $relative_path,
        'absolute' => dirname(__FILE__),
    ),
    'urlMode' => URL_PATHINFO,
);
